  <form action="<?php echo $PHP_SELF; ?>" method="POST">
	<h3>Contact</h3>
	<input type="hidden" name="id" value="<?php echo $c->contact->id; ?>"/>
	<input type="hidden" name="address_id" value="<?php echo $c->address->id; ?>"/>
	<table border=0>
		<tr><th>Name (First Last):</th><td><input type="text" name="firstname" value="<?php echo $c->contact->firstname; ?>" />
    		<input type="text" name="lastname" value="<?php echo $c->contact->lastname; ?>" /></td></tr>
    	<tr><th>E-mail:</th><td><input type="text" name="email" value="<?php echo $c->contact->email; ?>" /></td></tr>
    	<tr><th>Work:</th><td><input type="text" name="work_phone" value="<?php echo $c->contact->work_phone; ?>" /></td></tr>
    	<tr><th>Home:</th><td><input type="text" name="home_phone" value="<?php echo $c->contact->home_phone; ?>" /></td></tr>
    	<tr><th>Cell:</th><td><input type="text" name="cell_phone" value="<?php echo $c->contact->cell_phone; ?>" /></td></tr>
    	<tr><th>Fax:</th><td><input type="text" name="fax" value="<?php echo $c->contact->fax; ?>" /></td></tr>

    	<tr><th>Address:</th><td><div id="addressDiv">
    		<?php echo tableDropdown("address_id", $c->contact->address_id, $c->addresses, "line1, city, state, zip"); ?>
    		<small><?php echo HtmlUtil::internalAsynchLink("[new]", "address", $userRoles); ?></small></div>
    	</td></tr>
    	<tr><td>&nbsp;</td><td><input type="submit" name="action" value="Save" /><input type="submit" name="action" value="Cancel" /></td></tr>
    </table>
  </form>